using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using SMS.ServiceManager;

[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class ServiceSendMT : System.Web.Services.WebService
{
    public ServiceSendMT()
    {
        //Uncomment the following line if using designed components 
        //InitializeComponent(); 
    }

    [WebMethod]
    public int SendMT(string MobileNo, string Message, string ServiceID, string CommandCode, string MessageType, string RequestID, string TotalMsg, string MsgIndex, string IsMore, string ContentType)
    {
        return MessageOutManager.InsertMT(MobileNo, Message, ServiceID, CommandCode, MessageType, RequestID, TotalMsg, MsgIndex, IsMore, ContentType);
    }     
}
